package org.jeecg.api.convert;

import org.jeecg.api.dto.resp.position.MMUserWorkSignResultDto;
import org.jeecg.modules.recruit.sign.entity.MmUserSign;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhongchao
 * @tile WorkSignConvetMapper
 * @date 2020/8/30
 * @since v1.0.0
 */
@Mapper
public interface WorkSignConvetMapper {

    WorkSignConvetMapper INSTANCE = Mappers.getMapper(WorkSignConvetMapper.class);

    /**
     * 将用户报名对象转换为api返回对象
     *
     * @param mmUserSign
     * @return
     */
    MMUserWorkSignResultDto mmUserWorkSignResultDto(MmUserSign mmUserSign);

}
